const {sequelize} = require('../models')

! async function() {
    const synced = await sequelize.sync()
    console.log('SYNC SUCCESSFUL')
    process.exit()
}().catch((error) => {
    console.error(error)
})